package it.fantacalcio.spring.service;

import it.fantacalcio.model.Partita;

import java.util.List;

public interface PartitaService {

	public int salva(Partita partita) throws Exception;
	public int cancella(Partita partita) throws Exception;
	public int modifica(Partita partita) throws Exception;
	public Partita get(Long id) throws Exception;
	public List<Partita> list() throws Exception;
	public List<Partita> findByExample(Partita partita) throws Exception;
	
}
